package org.one.stone.soup.grfxML;

/*
 * Copyright 2000-2001 Wet-Wired.com Ltd.,
 * Portsmouth England
 * All rights reserved.
 */

/**
	*
	* @author Nik Cross
*/
public interface Token {

/*-  ---------------------------------------------*/

	public static final String SEPARATOR = ".";
	public static final String DEFAULT_ID = "DEFAULT_ID"; //used in array to grfxML

/*- Attribute Names ---------------------------------------------*/

	public static final String ID = "id";

	public static final String VALUE = "value";
	public static final String MIN_VALUE = "minValue";
	public static final String MAX_VALUE = "maxValue";
	public static final String DEGREES = "degrees";
	public static final String MIN_DEGREES = "minDegrees";
	public static final String MAX_DEGREES = "maxDegrees";

	public static final String START = "start";
	public static final String END = "end";
	public static final String MIDDLE = "middle";

	public static final String SIZE = "size";
	public static final String COUNT = "count";
	public static final String WIDTH = "width";

	public static final String X = "x";
	public static final String Y = "y";
	public static final String Z = "z";
	public static final String T = "t";

	public static final String RED = "red";
	public static final String GREEN = "green";
	public static final String BLUE = "blue";
	public static final String ALPHA = "alpha";

	public static final String X_MIN = "xMin";
	public static final String Y_MIN = "yMin";
	public static final String X_MAX = "xMax";
	public static final String Y_MAX= "yMax";

	public static final String URL = "url";
	public static final String SOURCE = "_src";

	public static final String RADIUS = "radius";
	public static final String SWEEP_ANGLE = "sweepAngle";

	public static final String OFFSET = "offset";
	public static final String BOUNDS = "bounds";
	public static final String WINDOW = "window";
	public static final String FILLED = "filled";

	public static final String DRAGGABLE = "draggable";
	public static final String SELECTABLE = "selectable";
	public static final String ROTATABLE = "rotatable";
	public static final String DRAGGING = "dragging";
	public static final String ROTATING = "rotating";
	public static final String OVER = "over";
	public static final String SELECTED = "selected";
	public static final String DROPPED = "dropped";
	public static final String TOGGLED = "toggled";
	public static final String VELOCITY = "velocity";

	public static final String FACE = "face";
	public static final String STYLE = "style";
	public static final String POINT_SIZE = "pointSize";

	public static final String RULE = "rule";

	public static final String RUNNING = "running";
	public static final String STEPS = "steps";
	public static final String CURRENT_STEP = "currentStep";
	public static final String LOOPED = "looped";
	public static final String PINGPONG = "pingpong";
	public static final String START_TRIGGER = "startTrigger";
	public static final String STOP_TRIGGER = "stopTrigger";
	public static final String GRAPH = "graph";
	public static final String DIRECTION = "direction";

	public static final String START_COLOR = "startColor";
	public static final String END_COLOR = "endColor";

	public static final String FINISHED = "finished";
/*- Element Names ---------------------------------------------*/

	public static final String COLOR = "color";

	public static final String START_POSITION = "startPosition";
	public static final String POSITION = "position";
	public static final String END_POSITION = "endPosition";

	public static final String TRACK = "track";

	public static final String CLASS_NAME = "className";
	public static final String XML = "xml";

	public static final String START_ANGLE = "startAngle";
	public static final String END_ANGLE = "endAngle";

	public static final String START_FACTOR = "startFactor";
	public static final String FACTOR = "factor";
	public static final String END_FACTOR = "endFactor";

	public static final String TRIGGER = "trigger";

	public static final String PLAY = "play";

	public static final String BASE_SETTINGS = "SETTINGS";
	public static final String BASE_PROCESS = "PROCESS";
	public static final String BASE_DATA = "DATA";
	public static final String BASE_PROTOTYPES = "PROTOTYPES";
	public static final String BASE_MOUSE = "MOUSE";
	public static final String BASE_POINTER = "POINTER";
	public static final String BASE_INFO = "INFO";
	public static final String BASE_KEY = "KEY";
	public static final String BASE_BACKGROUND = "BACKGROUND";
	public static final String BASE_ROOT = "ROOT";
	public static final String BASE_GUI = "GUI";

	public static final String TRANSPARENCY = "transparency";

	public static final String CURRENT_KEY_PRESSED = "currentKeyPressed";
	public static final String KEY_BUFFER = "keyBuffer";
	public static final String LAST_KEY_PRESSED = "lastKeyPressed";

	public static final String BUTTON_PRESSED = "buttonPressed";
	public static final String BUTTON_DOUBLE_CLICKED = "buttonDoubleClicked";
	public static final String BUTTON_RELEASED = "buttonReleased";
	public static final String BUTTON_DOWN = "buttonDown";

	public static final String BUTTON1_PRESSED = "button1Pressed";
	public static final String BUTTON1_DOUBLE_CLICKED = "button1DoubleClicked";
	public static final String BUTTON1_RELEASED = "button1Released";
	public static final String BUTTON1_DOWN = "button1Down";

	public static final String BUTTON2_PRESSED = "button2Pressed";
	public static final String BUTTON2_DOUBLE_CLICKED = "button2DoubleClicked";
	public static final String BUTTON2_RELEASED = "button2Released";
	public static final String BUTTON2_DOWN = "button2Down";

	public static final String LAST_POSITION = "lastPosition";
	public static final String PRESS_POSITION = "pressPosition";
	public static final String STICKY = "sticky";

	public static final String CLOSED = "closed";

	public static final String SIDES = "sides";
	public static final String THICKNESS = "thickness";

	public static final String FILTER = "filter";
	public static final String DEBUG = "debug";
	public static final String CONSOLE = "console";
	public static final String WARNINGS = "warnings";
	public static final String ANTIALIAS = "antialias";
	public static final String CACHE = "cache";
	public static final String FPS = "fps";
	public static final String FPS_SAMPLES = "fpsSamples";
	public static final String FRAME_WAIT = "frameWait";
	public static final String FRAME_SIZE = "frameSize";
	public static final String BACKGROUND_COLOR = "backgroundColor";

	public static final String RADIUS_A = "radiusA";
	public static final String RADIUS_B = "radiusB";

	public static final String TEXT = "text";
	public static final String FILL_COLOR = "fillColor";
	public static final String BORDER = "border";
	public static final String BORDER_COLOR = "borderColor";
	public static final String BOTTOM_RIGHT = "bottomRight";
	public static final String TOP_RIGHT = "topRight";
	public static final String BOTTOM_LEFT = "bottomLeft";
	public static final String END_OF_TEXT = "endOfText";
	public static final String LINE_HEIGHT = "lineHeight";
	public static final String EDITABLE = "editable";
	public static final String FOCUS = "focus";

	public static final String AUTHOR = "author";
	public static final String VERSION = "version";
	public static final String NOTES = "notes";

	public static final String VISIBLE = "visible";
	public static final String ROTATION = "rotation";

	public static final String FILE_SIZE = "fileSize";
	public static final String PROGRESS = "progress";
	public static final String MESSAGES = "messages";

/*- Tag Names --------------------------------------------------*/

//Wild card
	public static final String ANY = "*";
//Abstract
	public static final String ACTION = "action";
	public static final String GEOMETRY = "geometry";
//Groups
	public static final String BASE = "grfxML";
	public static final String NODE = "node";
	public static final String BEHAVIOUR = "behaviour";
	public static final String FONT = "font";
	public static final String TRANSLATION = "translation";
	public static final String PROCESS = "process";
	public static final String KEY = "key";
	public static final String MOUSE = "mouse";
	public static final String SETTINGS = "settings";
	public static final String TITLE = "title";
//Primatives
	public static final String POINT = "point";
	public static final String STATE = "state";
	public static final String STRING = "string";
	public static final String FILE = "file";
	public static final String COMMAND = "command";
	public static final String ANGLE = "angle";
	public static final String SCALE = "scale";
//Actions
	public static final String ACTION_COLOR = "actionColor";
	public static final String ACTION_SET = "actionSet";
	public static final String ACTION_MOVE = "actionMove";
	public static final String ACTION_PLUGIN = "actionPlugin";
	public static final String ACTION_ROTATE = "actionRotate";
	public static final String ACTION_SCALE = "actionScale";
	public static final String ACTION_TOGGLE = "actionToggle";
	public static final String ACTION_TRACK = "actionTrack";
//Anchors
	public static final String ANCHOR_BACK = "anchorBack";
	public static final String ANCHOR_TO_FILE = "anchorToFile";
	public static final String ANCHOR_TO_WEB_PAGE = "anchorToWebPage";
	public static final String ANCHOR_RELOAD = "anchorReload";
	public static final String ANCHOR_SEND_COMMAND = "anchorSendCommand";
	public static final String ANCHOR_TO_INSTALL = "anchorToInstall";
//Geometrys
	public static final String ARC = "arc";
	public static final String CIRCLE = "circle";
	public static final String IMAGE = "image";
	public static final String LINE = "line";
	public static final String POLYGON = "polygon";
	public static final String RECTANGLE = "rectangle";
	public static final String RPOLYGON = "rPolygon";
	public static final String TEXT_AREA = "textArea";
/*---Array Tags--*/
	public static final String ANCHORS = "anchors";
	public static final String CHILDREN = "children";
	public static final String POINTS = "points";
	public static final String GROUP = "group";
	public static final String SHAPE = "shape";
	public static final String DATA = "data";
}
